stylecontext: Add GTK_STYLE_CLASS_DIM_LABEL
authorDebarshi Ray <debarshir@src.gnome.org>
Fri, 20 Apr 2012 13:35:44 +0000 (15:35 +0200)
committerDebarshi Ray <debarshir@src.gnome.org>
Fri, 27 Apr 2012 12:55:49 +0000 (14:55 +0200)
Fixes: https://bugzilla.gnome.org/674468
gtk/gtkstylecontext.h

index 1a1f73ee19f0a15e71ba75c481b0939a384b4eb4..4975862f7971f4be0fefb75b27f62e8075cb48a1 100644 (file)
@@ -157,6 +157,16 @@ struct _GtkStyleContextClass
  */
 #define GTK_STYLE_CLASS_CELL "cell"
 
+/**
+ * GTK_STYLE_CLASS_DIM_LABEL:
+ *
+ * A CSS class to match dimmed labels.
+ *
+ * This should be used for toning down right aligned labels as
+ * compared to the entry value.
+ */
+#define GTK_STYLE_CLASS_DIM_LABEL "dim-label"
+
 /**
  * GTK_STYLE_CLASS_ENTRY:
  *